//
//  CommonOrderDetailModel.h
//  BaseProject
//
//  Created by 王洋 on 2020/8/29.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <Foundation/Foundation.h>
//#import "CommonRefundFlowModel.h"
//#import "CommonSubOrderModel.h"
#import "CommonOrderGoodsModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface CommonOrderDetailModel : NSObject

/*
 {
     expressName = "";
     expressNo = "";
     expressType = "";
     imgUrl = "";
     mediaList = "";
     orderExpireTime = 0;
     refundFlowList = "";
     refundRemark = "";
     refundStatus = "";
     rfId = "";
     uoBusinessToAccount = "";
     uoCreateTime = "2020-09-16 13:10:55";
     uoCustomerCashBack = "";
     uoDeposit = "";
     uoExpressAddress = "";
     uoId = 7994439230598180864;
     uoIsDel = 2;
     uoIsRefund = 2;
     uoOrderNo = F2020091601105558368;
     uoOrderType = "";
     uoPayAmount = "";
     uoPlatformCommission = "";
     uoRecommenderSubCommission = "";
     uoRefundReason = "";
     uoRemark = "";
     uoServiceTime = "";
     uoStatus = "";
     uoTotalAmount = "";
     uoType = 3;
     uoUpdateTime = "";
     uoUpdateUser = "";
     uoUserId = 7989098298188562432;
     uoUserName = "\U738b\U6d0b";
     uoUserTel = 15555555555;
     uodBusinessToAccount = "";
     uodDeposit = 0;
     uodDiscountMcAmount = "";
     uodDiscountMcId = "";
     uodDiscountPcAmount = "";
     uodDiscountPcId = "";
     uodId = 7994439233215426560;
     uodOrderType = 1;
     uodPayAmount = 1299;
     uodSellerId = 7992240848115531776;
     uodSellerName = "\U957f\U6c99\U56db\U5927\U91d1\U521a\U5de5\U4f5c\U5ba4";
     uodServiceTime = "2020-09-24 \U4e0b\U5348";
     uodStatus = 2;
     uodTotal = 1299;
     updatePrice = "";
     userAddress = "";
     userOrderDetailList = "";
     userOrderGoodsList = "";
     userOrderGoodsVoList =         (
                     {
             bhmTransverseImg = "";
             goodsImg = "";
             mediaList = "";
             ogBusinessToAccount = "";
             ogCreateTime = "2020-09-16 13:10:55";
             ogCreateUser = 7989098298188562432;
             ogCustomerCashBack = "";
             ogDeposit = "";
             ogGoodsId = 7993687336671838208;
             ogGoodsMenuId = "";
             ogGoodsMenuName = "";
             ogGoodsName = "\U5a5a\U793c\U5f53\U5929\U5168\U7a0b\U8ddf\U5986\U514d\U8d39\U8bd5\U5986+\U9001\U5988\U5988\U5986\U4e00\U4f4d";
             ogGoodsNum = 1;
             ogGoodsType = 1;
             ogId = 7994439231562870784;
             ogIsDel = 2;
             ogOrderId = F2020091601105558368;
             ogPayPrice = 1299;
             ogPlatformCommission = "";
             ogRecommenderSubCommission = "";
             ogRemark = "";
             ogSellerId = 7992240848115531776;
             ogSellerName = "\U957f\U6c99\U56db\U5927\U91d1\U521a\U5de5\U4f5c\U5ba4";
             ogTotal = 1299;
             ogUpdateTime = "";
             ogUpdateUser = "";
             sellerAddress = "";
             sellerBanquetHallMenu = "";
             sellerGoodsSpecs = "";
             specImage = "";
             specName = "";
         }
     );
     userOrderSuborderList =         (
                     {
             payStatus = 2;
             uosCreateTime = "2020-09-16 13:10:55";
             uosId = 7994439233601302528;
             uosIsDel = 2;
             uosIsRefund = 2;
             uosOrderNo = "";
             uosParentId = F2020091601105558368;
             uosPayAmount = 1299;
             uosPayTime = "";
             uosPayType = "";
             uosRemark = "";
             uosType = 3;
             uosUpdateTime = "";
             uosUpdateUser = "";
         }
     );
     userTel = 15555555555;
     username = 15305608830;
 };
 */

//ID
@property (nonatomic, copy) NSString *uoId;
//订单编号
@property (nonatomic, copy) NSString *uoOrderNo;


//用户姓名
@property (nonatomic, copy) NSString *uoUserName;
//用户电话
@property (nonatomic, copy) NSString *uoUserTel;

//服务时间
@property (nonatomic, copy) NSString *uodServiceTime;

@property (nonatomic, copy) NSString *uoCreateTime;


//快递单号
@property (nonatomic, copy) NSString *uoExpressNo;
//快递名称
@property (nonatomic, copy) NSString *uoExpressName;
//用户寄件地址
@property (nonatomic, copy) NSString *uoExpressAddress;
//快递类型
@property (nonatomic, copy) NSString *uoExpressType;



//1,定金2尾款3：全款
@property (nonatomic, assign) NSInteger uoType;

//订单类型（1：套餐，2：婚品，3：酒宴）
@property (nonatomic, assign) NSInteger uodOrderType;

@property (nonatomic, assign) NSTimeInterval orderExpireTime;

//商户优惠金额 ID
@property (nonatomic, assign) NSInteger uodDiscountMcId;
@property (nonatomic, assign) double uodDiscountMcAmount;

//平台优惠金额 ID
@property (nonatomic, assign) NSInteger uodDiscountPcId;
@property (nonatomic, assign) double uodDiscountPcAmount;


//定金金额
@property (nonatomic, assign) double uodDeposit;

//总金额
@property (nonatomic, assign) double uodTotal;

//尾款
@property (nonatomic, assign) double uodBalance;


//实付金额(定金加尾款减去优惠金额)
@property (nonatomic, assign) double uodPayAmount;


@property (nonatomic, assign) double expressAmount;


//定金
//@property (nonatomic, assign) double uoDeposit;

//订单状态（1：待付款，2：待接单(婚品是：待发货)，3：待付尾款，4：待服务（婚品是待收货），5：待用户确认完成（婚品是待评价），6：已完成，7：取消订单）8:系统自动关闭
@property (nonatomic, assign) NSInteger uoStatus;

/*订单状态（
 套餐1：未支付定金，2：已支付定金，3：未支付尾款，4：已支付尾款，5，待服务，6：已完成，7：支付失败，8：取消支付 ;
 婚品-1：未支付订单，2：已支付订单（待接单），3：待发货，4：已发货，5：待用户确认，6：已完成，7：支付失败，8：取消订单;
 酒店-1：未支付定金，2：已支付定金，3：已接单，4：已付尾款，5：待服务，6：已完成，7：支付失败，8：取消订单;）*/

@property (nonatomic, assign) NSInteger uodStatus;






//订单备注
@property (nonatomic, copy) NSString *uoRemark;


//店铺id
@property (nonatomic, copy) NSString *uodSellerId;
//店铺名称
@property (nonatomic, copy) NSString *uodSellerName;



//退款原因
@property (nonatomic, copy) NSString *uoRefundReason;



@property (nonatomic, strong) NSMutableArray <CommonOrderGoodsModel *>*userOrderGoodsVoList;


@end

NS_ASSUME_NONNULL_END
